@import './variables.scss';
#app:before{
    content: "";
    display: table;
}
.clearfix {
    zoom: 1;
    /*为IE6，7的兼容性设置*/
    &:after {
        clear: both;
    }
    &:after,
    &:before {
        content: "";
        display: table;
    }
}

.left {
    float: left;
}

.right {
    float: right;
}

.ne-title {
    margin-bottom: .1rem;
    line-height: .36rem;
    p {
        font-size: $fontSize_v3;
        font-weight: 600;
        color: #333;
        //padding-bottom: 10px;
    }
}

.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    display: -moz-flex;
    //display: box;
    -moz-box-pack: justify;
    -webkit-box-pack: justify;
    box-pack: justify;
    -moz-box-align: center;
    -webkit-box-align: center;
    box-align: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-align-items: center;
}

.flex-column {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    display: -moz-flex;
    //display: box;
    -moz-box-pack: justify;
    -webkit-box-pack: justify;
    box-pack: justify;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
}

.flex-jian {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    display: -moz-flex;
    //display: box;
    text-align: center;
}

.flex-between {
    -moz-justify-content: space-between;
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

.flex-center {
    -moz-box-align: center;
    -webkit-box-align: center;
    box-align: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

::-webkit-scrollbar {
    width: .05rem;
    height: .15rem;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}


/* 滚动条的滑轨背景颜色 */

::-webkit-scrollbar-thumb {
    background-color: #c7c7c7;
}


/* 滑块颜色 */

::-webkit-scrollbar-button {
    background-color: transparent;
}


/* 滑轨两头的监听按钮颜色 */

::-webkit-scrollbar-corner {
    background-color: transparent;
}


/* 横向滚动条和纵向滚动条相交处尖角的颜色 */

.ne-red {
    color: $red;
}

input::placeholder {
    font-size: $fontSize_base!important;
}

.ne-line {
    .el-form-item__content {
        height: .34rem;
        @extend %flex-jian;
    }
    .ne-select-s {
        margin-right: .10rem;
        input {
            //padding-left: 0;
        }
    }
}

.ne-input-s {
    width: .34rem;
    margin-right: .15rem;
    input {
        padding: 0;
        text-align: center;
    }
}

.column-center {
    @extend %flex-jian;
    box-align: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: center;
}

.ne-dolt {
    //width: 30px;
    text-align: center;
    font-weight: 600;
    line-height: .30rem;
    width: .40rem;
    height: .30rem;
    border: none;
    background-color: #f6f6f7;
    font-size: .10rem;
    border-radius: 0 .03rem .03rem 0 !important;
    color: #666;
    position: absolute;
    top: .04rem;
    right: .01rem;
}

.ne-relative {
    position: relative;
}

.ne-bg {
    position: absolute;
    border-color: $orange;
    border-style: solid;
    width: 1rem;
    height: 1rem;
    &.ne-bg-top {
        top: -.02rem;
        left: -.02rem;
        border-width: .03rem 0 0 .03rem;
        border-radius: .05rem 0 0 0;
    }
    &.ne-bg-bottom {
        bottom: -.02rem;
        right: -.02rem;
        border-width: 0 .03rem .03rem 0;
        border-radius: 0 0 .03rem 0;
    }
}

.ne-border-bold {
    border-radius: .05rem;
    border: .02rem solid $grayColor3;
}

.ne-padding-t-20 {
    padding-top: .2rem;
}

.ne-col2-gutter-15 {
    &>div {
        width: calc(50% - .15rem);
        &:first-child {
            margin: 0 .15rem;
        }
    }
}

.ne-inen-title {
    padding: 0;
    margin: 0 .1rem .15rem 0;
    border-bottom: .01rem solid $grayColor3;
    span {
        padding-bottom: .15rem;
        margin-bottom: 0;
        display: inline-block;
        border-bottom: .02rem solid $blue;
        position: relative;
        top: .01rem;
    }
}
.ne-operation {
    color: #999999;
    font-size: $fontSize_info;
    position: relative;
    i {
        font-size: $fontSize_info;
    }
    .ne-tab-toggle {
        text-decoration: none;
        color: $blue;
        font-size: $fontSize_base;
        line-height: .36rem;
        // background: url(~@/assets/imgs/icon-sq.png) no-repeat left center;
        background-size: .14rem auto;
        padding-left: .16rem;
        text-decoration: none;
        cursor: pointer;
        margin-left: .1rem;
    }
    .ne-tab-toggle.hover {
        text-decoration: underline;
        color: $blue;
        // background: url(~@/assets/imgs/icon-zk.png) no-repeat left center;
        background-size: .14rem auto;
    }
}

.mar-15 {
    margin-top: .15rem;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
dl,
dd,
td,
input,
fieldset,
textarea,
option {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}

img {
    border: none;
    vertical-align: top;
}

a,
input {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
b,
strong {
    font-weight: 100;
}

i,
em {
    font-style: normal;
}
/* 客户tabs   left样式  start*/
.m-tabs-box .tab-pannel a {
    padding: 20px 40px;
    border-left: 3px solid transparent;
    display: block;
    text-align: center;
    background-color: #f5f6f6;
    border: 1px solid rgba(221, 221, 221, 0.5);
}
.m-tabs-box .current {
    background-color: #ffffff;
}
.m-tabs-box .current a {
    border-left: 3px solid red;
    border-color: rgba(221, 221, 221, 0.5) transparent rgba(221, 221, 221, 0.5)
    rgba(221, 221, 221, 0.5);
    border-top-width: 1px;
    background-color: #ffffff;
    border-left: 3px solid #0052d9;
    margin: 0 -2px;
    -webkit-box-shadow: -2px 0 3px 0 rgba(221, 221, 221, 0.5) !important;
    box-shadow: -2px 0 3px 0 rgba(221, 221, 221, 0.5) !important;
    border-top: 1px solid rgba(221, 221, 221, 0.5);
}
.m-tabs-box {
    min-height: 500px;
    background-color: #ffffff;
    padding: 10px 20px;
}
.m-tabs-box .container {
    width: 100%;
}
.m-tabs-box .el-tabs__active-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #0052d9 !important;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    list-style: none;
}

// .m-tabs-box .el-tabs__item.is-active {
//   color: #f56f3c !important;
// }
.m-tabs-box .el-tabs--left .el-tabs__active-bar.is-left,
.m-tabs-box .el-tabs--left .el-tabs__nav-wrap.is-left::after {
    left: 0 !important;
}
.m-tabs-box .el-tabs--left .el-tabs__item.is-left.is-active {
    background: #ffffff;
    border-right: none;
}
.m-tabs-box .el-tabs--left .el-tabs__item.is-left {
    border-left: 3px solid transparent;
    display: block;
    text-align: center;
    background-color: #f5f6f6;
    border: 1px solid rgba(221, 221, 221, 0.5);
}
.m-tabs-box .el-tabs--left .el-tabs__item.is-left {
    padding: 20px 40px;
    height: auto !important;
}
.m-tabs-box .el-tabs__item.is-top.el-tabs__active-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;

    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    list-style: none;
}
.m-tabs-box .el-tag .el-icon-close {
    color: #ffffff !important;
}
/* 客户tabs   left样式 end*/
.m-dialog .el-dialog__body {
  padding: 0 0.2rem;
}
.m-dialog .el-dialog__body .el-main{
     padding: 0 0.2rem 0.2rem;
}
.ne-bg-box{
    width: calc(100% - .4rem);
    background-color: #fff;
    border-radius: 0.05rem;
    padding: 0.2rem 0;
    box-sizing: border-box;
    height: auto;
    margin: 0.2rem;
}
.ne-title-v2{
    color: $textColor1;
    font-size: $fontSize_v3;
    padding-left: .12rem;
    position: relative;
    margin-bottom: .2rem;
    font-weight: 500;
    &:after{
        content: '';
        display: inline-block;
        width: .05rem;
        height: .15rem;
        border-radius: .01rem;
        background-color: $orange;
        position: absolute;
        left: 0;
        top: .03rem;
    }
}
